.wrapper {
  position: relative;
  background-color: $colorLightBeige;
}

$bottom-elem-height: 130px;

.address-details-wrapper {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;

  margin: $margin;
}

.listing {
  padding-bottom: $bottom-elem-height;
}

.wechat-cta {
  display: flex;
  align-items: center;

  .wechat {
    @include size(18px, 18px);
    margin-right: 12px;
  }
}

.clickable-card {
  display: flex;
  flex-direction: column;
  justify-content: left;
  font-family: $notoSans;
  font-size: $paragraph;
  padding: 20px 0;
  border-bottom: 1px solid $colorBeige;

  .checkbox-grouping {
    display: flex;
    flex-direction: row;
    justify-content: center;
    position: relative;

    radio {
      @include size(15px, 15px);
      padding-right: 20px;
      // Visibility hidden does not generate change events
      opacity: 0;
    }

    .unavailable-spacing {
      padding-right: 35px;
    }

    .checkbox-group {
      position: relative;
    }

    .checkbox-bg,
    .checkbox-active {
      box-sizing: border-box;
      position: absolute;
      top: 50%;
      left: 8px;
      transform: translate(-50%, -50%);
      border-radius: 50%;
      pointer-events: none;
    }

    .checkbox-bg {
      @include size(16px, 16px);
      border: 1px solid $colorGrey;
    }

    .checkbox-active {
      @include size(10px, 10px);
      background-color: $colorDark;
    }
  }

  .address {
    width: 100%;
  }

  .top-row {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;

    :global(label) {
      width: 90%;
      @include truncate();
    }
    .edit {
      @include size(25px, 25px);
      position: absolute;
      top: 0;
      right: 0;
    }
    .arrow {
      @include size(15px, 12px);
    }
  }
  .bottom-row {
    position: relative;
    display: flex;
    color: $colorGrey;
    margin-top: 4px;

    .name {
      margin-right: 15px;
    }

    .default {
      position: absolute;
      right: 0;
    }
  }
}

page {
  background-color: $colorLightBeige;
}

.bottom-cta-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: fixed;
  bottom: 0px;
  left: $margin;
  right: $margin;
  height: $bottom-elem-height;
  background-color: $colorLightBeige;

  .cta-sizing {
    width: calc(100vw - 2 * $margin);
  }

  .wechat-sizing {
    padding: 15px 0;
    margin-bottom: $margin;
  }
}
